﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpSvn;

namespace Metro.Svn
{
    /// <summary>
    ///sharpsvn控制器
    /// </summary>
    public class CSharpSvnCtrl
    {
        #region Construction

        private static CSharpSvnCtrl m_instance=new CSharpSvnCtrl();
        public static CSharpSvnCtrl Instance
        {
            get { return m_instance; }
        }
                        
        #endregion

        #region Public Function

        public void CheckOut(string strUri,string strFilePath)
        {
            using (SvnClient oSvnClient = new SvnClient())
            {
                oSvnClient.CheckOut(new Uri(strUri), strFilePath); 
            }

        }
      
        #endregion

        #region 辅助函数

        #endregion

    }
}
